<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
</head>

<body>
    <script>
        let lst = (...args) => {
            let loues = 0
            args.forEach((item) => {
                loues += item
            })
            return loues
        }
        console.log(lst(1, 2, 3, 4, 5, 6, 7, 8, 9, 10));
        console.log(lst(1, 2, 3, 4, 0));
        console.log(lst(1, 2));

        console.log(filter(Math.max(1, 52, 12, 34, 23)));
    </script>
</body>

</html>